import 'dart:ui';

// ignore_for_file: constant_identifier_names
/// APP 颜色值, 根据设计师提供的设计规范来调整
abstract class AppColors {
  AppColors._();

  // 主色 Primary Color
  static const Color primary_color = Color(0xFF4C22B8);
  static const Color primary_color1 = Color(0xFF6A00FF);
  static const Color primary_color2 = Color(0xFF964DFF);
  static const Color primary_color3 = Color(0xFFB17BFF);
  static const Color primary_color4 = Color(0xFFDFC9FF);
  static const Color primary_color5 = Color(0xFFF7F2FF);
  static const Color primary_color6 = Color(0xFFE5E5E5);
  /// 浅色紫色背景
  static const Color lightPurple = Color(0xffEDE9f8);

  static const Color variant_purple = Color(0xff6C5DEE);

  // 辅色 Secondary Color
  static const Color secondary_color_yellow = Color(0xFFFFD70F);

  static const Color pink = Color(0xffD896FA);
  static const Color light_pink = Color(0xffFFE9EC);


  /// 更新文本提示高亮色
  static const Color green = Color(0xFF00AC29);

  // 语义色 Meaning Color
  static const Color meaning_color_danger = Color(0xFFFA4263);
  static const Color magenta = Color(0xFFFF3350);

  static const Color meaning_color_success = Color(0xFF48ECB1);
  static const Color meaning_color_disable = Color(0xFFCCCACC);

  // ======== 文字色 Typography Color ===========
  /// 0xFF19194B
  static const Color font_color_primary = Color(0xFF4C22B8);

  /// 0xFF797679
  static const Color font_color_secondary = Color(0xFF797679);

  /// 0xFFAAA6AA
  static const Color font_color_tertiary = Color(0xFFAAA6AA);

  /// 0xFFCCCACC
  static const Color font_color_fourth = Color(0xFFCCCACC);

  /// 0xFFFFFFFF
  static const Color font_color_while = Color(0xFFFFFFFF);

  /// 0xFF111111
  static const Color font_color_black = Color(0xFF111111);

  /// 0xffDBDBDC
  static const Color input_color_grey = Color(0xffDBDBDC);

  static const Color color_63626a = Color(0xff63626A);
  static const Color color_CECEE1 = Color(0xffCECEE1);

  // 灰色系 Grey Color
  static const Color grey_color500 = Color(0xFF4B464B);
  static const Color grey_color400 = Color(0xFF797679);
  static const Color grey_color300 = Color(0xFFAAA6AA);
  static const Color grey_color200 = Color(0xFFCCCACC);
  static const Color grey_color100 = Color(0xFFF4F2F5);
  static const Color grey_color_white = Color(0xFFFFFFFF);
  static const Color gray = Color(0xFF8791AA);
  static const Color text_background_grey = Color(0xFFF4F5F6);
  static const Color text_grey = Color(0xFF555555);
  static const Color Pure_gray_bg = Color(0xffF3F5F9);

  // 背景色 Background Color
  static const Color background_color_primary = Color(0xFF6A00FF);
  static const Color background_color_disable = Color(0xFFCCCACC);
  static const Color background_color_common = Color(0xFFF4F2F5);

  static const Color background_color_white = Color(0xFFFFFFFF);
  static const Color background_color_dark = Color(0xFF19194B);
}

/// 滤镜色
abstract class AppColorFilters {
  AppColorFilters._();

  /// 灰度
  static const ColorFilter gray = ColorFilter.matrix(<double>[
    0.2126,
    0.7152,
    0.0722,
    0,
    0,
    0.2126,
    0.7152,
    0.0722,
    0,
    0,
    0.2126,
    0.7152,
    0.0722,
    0,
    0,
    0,
    0,
    0,
    1,
    0,
  ]);
}
